<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			this.isLogin()
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods:{
			isLogin(){
				wx.redirectTo({
					url: '/pages/Loading/Loading',  //跳转至登录页
				})
				setTimeout(() => {
				    wx.redirectTo({
				      url: '/pages/Login/Login',  // 跳转至登录页
				    })
				}, 2000)  // 延迟 2 秒
			}
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
